/**
 * output package name
 */
package com.kingdee.eas.crm.enumeration;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class TaskStateEnum extends StringEnum
{
    public static final String NOTSTART_VALUE = "10";
    public static final String START_VALUE = "30";
    public static final String END_VALUE = "40";
    public static final String ABOLISH_VALUE = "50";

    public static final TaskStateEnum notStart = new TaskStateEnum("notStart", NOTSTART_VALUE);
    public static final TaskStateEnum start = new TaskStateEnum("start", START_VALUE);
    public static final TaskStateEnum end = new TaskStateEnum("end", END_VALUE);
    public static final TaskStateEnum abolish = new TaskStateEnum("abolish", ABOLISH_VALUE);

    /**
     * construct function
     * @param String taskStateEnum
     */
    private TaskStateEnum(String name, String taskStateEnum)
    {
        super(name, taskStateEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static TaskStateEnum getEnum(String taskStateEnum)
    {
        return (TaskStateEnum)getEnum(TaskStateEnum.class, taskStateEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(TaskStateEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(TaskStateEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(TaskStateEnum.class);
    }
}